package com.pronhub.luowowo.util;


import org.apache.commons.beanutils.BeanUtils;

import java.lang.reflect.InvocationTargetException;

public class BeanUtilLXY {
    public static  void copyProperties(Object dest,Object rog){
        try {
            BeanUtils.copyProperties(dest,rog);
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (InvocationTargetException e) {
            e.printStackTrace();
        }
    }
}
